[ Home ] [ Introduction ] [ Overview ] [ Platform Notes ] [ Reference ] [ History ]
GmAddGroup
Adds a generic parent group to the geometry manager.
HGMGROUP
GmAddGroup( |
|
HGEOM |
hGeom, |
Geometry manager handle |
|
HGMGROUP |
hParent, |
Parent group handle |
|
DWORD |
dwFlags, |
Flags specifying how to size and arrange this
group and it’s children |
|
WORD |
wWeight); |
Relative weight of this group |
dwFlags
Horizontal Alignment (pick one)
GM_LEFT |
Align this group to the left |
GM_HCENTER |
Center this group horizontally |
GM_RIGHT |
Align this group to the right |
Vertical Alignment (pick one)
GM_TOP |
Align this group to the top |
GM_VCENTER |
Center this group vertically |
GM_BOTTOM |
Align this group to the bottom |
Arrangment of Children (pick one)
GM_HORIZONTAL |
Children are arranged horizontally as they are
added, from left to right |
GM_VERTICAL |
Children are arranged vertically as they are
added, from top to bottom |
GM_OVERLAPPED |
Children are overlapped |
Returns
Returns a handle to the group just added or NULL
if the operation failed.
Notes
- A generic group is useful only if it has children to group together.
- Generic groups inherit the minimum size of their children and have no space around them.
- Generic groups inherit the growth properties of their children. The horizontal and
vertical alignment flags are used only when the child groups do not grow in the
appropriate direction.
[ Home ] [ Introduction ] [ Overview ] [ Platform Notes ] [ Reference ] [ History ]
|